#pragma once
#include "Object.h"

#define CTL_CODE_INIT       CTL_CODE(FILE_DEVICE_UNKNOWN, 0x8001, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define CTL_CODE_GETINFO    CTL_CODE(FILE_DEVICE_UNKNOWN, 0x8002, METHOD_BUFFERED, FILE_ANY_ACCESS)

NTSTATUS IrpGeneral(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp);
NTSTATUS IrpDeviceControl(IN struct _DEVICE_OBJECT* DeviceObject, IN OUT struct _IRP* Irp);
